/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package GA;

/**
 *
 * @author Andrew
 */
public class GeneticAlgorithm<T> {
    private Population<T> population;

    public GeneticAlgorithm(int popSize, int generations, float rolloverRate, float mutationRate) {
        this.population = new Population<T>(popSize, generations, rolloverRate, mutationRate);
    }

    public void start() {
        
    }

    public void stop() {
        
    }

    public T getBestSolution() {
        return population.getBest();
    }
}